<?php
/**
 * Created by PhpStorm.
 * User: singi
 * Date: 2019/5/5
 * Time: 23:26
 */

$ROOT_PATH = dirname(__DIR__).'/';

require_once $ROOT_PATH.'vendor/autoload.php';
require_once $ROOT_PATH.'lib/func.php';
$db_config = require_once $ROOT_PATH.'config/db.php';

use Goutte\Client;
use GuzzleHttp\Client as GuzzleHttpClient;
use Medoo\Medoo;

$client = new Client();
$httpClient = new GuzzleHttpClient([
    'verify'=>false
]);
$client->setClient($httpClient);
$db = new Medoo($db_config);




